<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">

  <title>豆瓣Top250数据可视化</title>
  <meta content="" name="descriptison">
  <meta content="" name="keywords">

  <!-- Favicons -->
  <link href="static/assets/img/favicon.png" rel="icon">
  <link href="static/assets/img/apple-touch-icon.png" rel="apple-touch-icon">

  <!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,600,600i,700,700i,900" rel="stylesheet">

  <!-- Vendor CSS Files -->
  <link href="static/assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="static/assets/vendor/icofont/icofont.min.css" rel="stylesheet">
  <link href="static/assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  <link href="static/assets/vendor/animate.css/animate.min.css" rel="stylesheet">
  <link href="static/assets/vendor/venobox/venobox.css" rel="stylesheet">
  <link href="static/assets/vendor/aos/aos.css" rel="stylesheet">

  <!-- Template Main CSS File -->
  <link href="static/assets/css/style.css" rel="stylesheet">

</head>

<body>


 

  <!-- ======= Header ======= -->
  <header id="header">
    <div class="container">

      <div class="logo float-left">
        <h1 class="text-light"><a href="index.html"><span>Mamba</span></a></h1>
        <!-- Uncomment below if you prefer to use an image logo -->
        <!-- <a href="index.html"><img src="static/assets/img/logo.png" alt="" class="img-fluid"></a>-->
      </div>

      <nav class="nav-menu float-right d-none d-lg-block">
        <ul>
         <li class="active"><a href="/index">首页 <i class="la la-angle-down"></i></a></li>
          <li><a href="/movie">数据</a></li>
          <li><a href="/count">数据统计</a></li>
          <li><a href="/score">项目占比</a></li>
          <li><a href="/word">词云</a></li>
          <li><a href="/team">团队</a></li>
         
        </ul>
      </nav><!-- .nav-menu -->

    </div>
  </header><!-- End Header -->

   <!-- ======= Our Team Section ======= -->
    <section id="team" class="team">
      <div class="container">

        <div class="section-title">
          <h2>淘宝项目数据</h2>
          
        </div>
 
       

             <!-- ======= Counts Section ======= -->
    <section class="counts section-bg">
      <div class="container">
		
		<table class="table table-striped">
		
			<tr>
				<td>id</td>
				<td>项目编号</td>
				<td>项目类别</td>
				<td>商品编号</td>
			
			</tr>
			{% for dim_item in dim_items %}
			<tr>
				<td>{{dim_item[0]}}</td>
				<td>{{dim_item[1]}}</td>
				<td>{{dim_item[2]}}</td>
				<td>{{dim_item[3]}}</td>
				
				
			</tr>
			{% endfor %}
			
		</table>
		{{ pagination.links }}   
		
		<p>共:{{total}}条数据 
		
	
		
		<form method='get'>
			前往<input name = "page" value="{{page}}" >页 </input>
			<input type="submit" value = "确认"> </inpurt> 
		</form>
		
		<form action='{{ url_for('dim_item') }}' method="post"> 
			
			
			<select name = "per_page" > 
			
			
			{% for i in range(0,  10) %}
				{% if i < per_page / 20 - 1	 %}
					<option value="{{(i+1)*20}}"> {{ (i+1)*20 }}条/页 </option>
				{% elif i ==per_page / 20 - 1  %}
					<option value="{{(i+1)*20}}" selected> {{ (i+1)*20 }}条/页 </option>
				{% else %}
					<option value="{{(i+1)*20}}" > {{ (i+1)*20 }}条/页 </option>
				{% endif %}
			{% endfor %}
			</select>
			
			<input type="submit" value='确认'>
		</form>
		

      </div>
    </section><!-- End Counts Section -->

        </div>

      </div>
    </section><!-- End Our Team Section -->

 
  <!-- ======= Footer ======= -->
  <footer id="footer">
    
    <div class="container">
      <div class="copyright">Copyright &copy; 2020.Company name All rights reserved.</div>
      <div class="credits"></div>
    </div>
  </footer><!-- End Footer -->

  <a href="#" class="back-to-top"><i class="icofont-simple-up"></i></a>

  <!-- Vendor JS Files -->
  <script src="static/assets/vendor/jquery/jquery.min.js"></script>
  <script src="static/assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="static/assets/vendor/jquery.easing/jquery.easing.min.js"></script>
  <script src="static/assets/vendor/php-email-form/validate.js"></script>
  <script src="static/assets/vendor/jquery-sticky/jquery.sticky.js"></script>
  <script src="static/assets/vendor/venobox/venobox.min.js"></script>
  <script src="static/assets/vendor/waypoints/jquery.waypoints.min.js"></script>
  <script src="static/assets/vendor/counterup/counterup.min.js"></script>
  <script src="static/assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
  <script src="static/assets/vendor/aos/aos.js"></script>

  <!-- Template Main JS File -->
  <script src="static/assets/js/main.js"></script>

</body>

</html>